package com.bootdo.core.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.core.dao.ShortVideoComplaintDao;
import com.bootdo.core.domain.ShortVideoComplaintDO;
import com.bootdo.core.service.ShortVideoComplaintService;



@Service
public class ShortVideoComplaintServiceImpl implements ShortVideoComplaintService {
	@Autowired
	private ShortVideoComplaintDao shortVideoComplaintDao;
	
	@Override
	public ShortVideoComplaintDO get(Integer id){
		return shortVideoComplaintDao.get(id);
	}
	
	@Override
	public List<ShortVideoComplaintDO> list(Map<String, Object> map){
		return shortVideoComplaintDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shortVideoComplaintDao.count(map);
	}
	
	@Override
	public int save(ShortVideoComplaintDO shortVideoComplaint){
		return shortVideoComplaintDao.save(shortVideoComplaint);
	}
	
	@Override
	public int update(ShortVideoComplaintDO shortVideoComplaint){
		return shortVideoComplaintDao.update(shortVideoComplaint);
	}
	
	@Override
	public int remove(Integer id){
		return shortVideoComplaintDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return shortVideoComplaintDao.batchRemove(ids);
	}

	@Override
	public int review(Integer id,String status) {
		return shortVideoComplaintDao.review(id,status);
	}
	
}
